var math/big.natTwo
8 uses
math/big (current package)
nat.go#L39: natTwo = nat{2}
prime.go#L94: nm3 := nat(nil).sub(nm1, natTwo)
prime.go#L103: x = x.set(natTwo)
prime.go#L106: x = x.add(x, natTwo)
prime.go#L160: return n.cmp(natTwo) == 0
prime.go#L221: nm2 := nat(nil).sub(n, natTwo) // n-2
prime.go#L282: if vk.cmp(natTwo) == 0 || vk.cmp(nm2) == 0 {
prime.go#L318: t1 = t1.sub(t1, natTwo)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |